//
//  HSAboutWeController.swift
//  HomeSchoolDemo
//
//  Created by Mac on 16/10/3.
//  Copyright © 2016年 chendong. All rights reserved.
//

import UIKit

class HSAboutWeController: UIViewController {
    @IBOutlet weak var logoView: UIImageView!

    override func viewDidLoad() {
        super.viewDidLoad()
        logoView.layer.cornerRadius = 60
        logoView.layer.masksToBounds = true
    }
    //返回按钮的回调方法
    @IBAction func returnbtnClicked(_ sender: UIButton) {
        dismiss(animated: true, completion: nil)
    }
    //百度官网按钮的回调方法
    @IBAction func WebBtnClicked(_ sender: UIButton) {
        let webVC = HSWebViewController()
        present(webVC, animated: true, completion: nil)
    }
    //电话按钮的回调方法
    @IBAction func contactweClicked(_ sender: UIButton) {
        let webView:UIWebView = UIWebView()
        //创建地址
        let UrlRequest = URLRequest(url: URL(string: "tel://10086")!)
        webView.loadRequest(UrlRequest)
        view.addSubview(webView)
    }
    
    
    
}
